package com.china08.yxyapi.entity.db.lessons;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 校本课程 章节
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_lessons_school_lesson_chapter", catalog = "yxy_lessons")
public class YxyLessonsSchoolLessonChapter extends BaseEntity {

	@Column
	private String lessonId;// 对应的课程id

	@Column
	private String title;// 名称

	@Column(columnDefinition = "text")
	private String intro;// 简介

	/** 排列序号 */
	@Column(name = "order_num", nullable = false, columnDefinition = "INT(11) DEFAULT 100")
	private Integer orderNum = 20;

	public String getLessonId() {
		return lessonId;
	}

	public void setLessonId(String lessonId) {
		this.lessonId = lessonId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

}
